package cn.wolfcode.car.base.service;

import cn.wolfcode.car.base.domain.Customer;
import cn.wolfcode.car.base.domain.Post;
import cn.wolfcode.car.base.query.CustomerQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;


/**
 *   客户服务接口
 */
public interface ICustomerService {
    /**
     *  分页查询
     */
    TablePageInfo<Customer> query(CustomerQuery qo);

    /**
     *   查询一个
     * @param id
     * @return
     */
    Customer get(Long id);

    /**
     *  新增
     * @param customer
     */
    void save(Customer customer);

    /**
     *  编辑
     * @param customer
     */
    void update(Customer customer);

    /**
     * 批量删除
     * @param ids
     */
    void deleteBatch(String ids);
}
